#pragma once
class Larger_than
{
public:
    explicit Larger_than(int v) : v(v) {}
    bool operator()(int x) const { return x > v; }

private:
    int v;
};